﻿using MahApps.Metro.Controls;
using System.Windows;

namespace Minecraft_Armor_Stand_Creater.Resource.Windows
{
    /// <summary>
    /// OutPutWindow.xaml 的交互逻辑
    /// </summary>
    public partial class OutPutWindow : MetroWindow
    {
        public OutPutWindow()
        {
            InitializeComponent();
            Copy.Click += Copy_Click;
        }

        /// <summary>
        /// 复制代码
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Copy_Click(object sender, RoutedEventArgs e)
        {
            Clipboard.SetDataObject(Print.Text);
        }
    }
}
